﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CadastroEstabelecimento.aspx.cs"
    Inherits="PUBCLUB_2014_VISUAL_STUDIO_PRO_2010.GUI.CadastroEstabelecimento" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="Stylesheet" type="text/css" href="../Styles/Site.css" />
    <style type="text/css">
        .style1
        {
            width: 405px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="navigation-container">
        <div id="navigation">
        </div>
    </div>
    <div id="CadastroBody">
        <div id="CadastroContent">
            <div id="LoginImg">
                <img src="../Imagens/LogoCaneca.png" /></div>
            <div id="CadastroFrom">
                <table>
                    <tr>
                        <td>
                            Razão Social:
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="textBoxRazaoSocial" runat="server" MaxLength="100" Width="500"></asp:TextBox>
                        </td>
                        <asp:Panel ID="Panel1" Style="float: right" runat="server" Visible="true" Height="150px"
                            Width="150px">
                            <asp:Image ID="Image1" Style="float: right" runat="server" Height="150px" Width="150px" />
                            <br />
                        </asp:Panel>
                    </tr>
                    <tr>
                        <td>
                            Nome Fantasia:
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="textBoxNomeFantasia" runat="server" MaxLength="100" Width="500"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            CNPJ:
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="textBoxCNPJ" runat="server" MaxLength="13" Width="200"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Telefone:
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="textBoxTelefone" runat="server" MaxLength="14" Width="131px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Nome para contato:
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="textBoxNomeContato" runat="server" MaxLength="100" Width="500"></asp:TextBox>
                        </td>
                    </tr>                    
                    <tr>
                        <td>
                            Email:
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="textBoxEmail" runat="server" MaxLength="100" Width="200"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            CEP:
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="textboxCEP" runat="server" MaxLength="9" Width="100" CssClass="cep"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Rua:
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="textBoxRua" runat="server" MaxLength="100" Width="500"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Número:
                        </td>
                        <td>
                            <asp:TextBox ID="textBoxNumeroRua" runat="server" MaxLength="20" Width="80"></asp:TextBox>
                            Complemento:
                            <asp:TextBox ID="textBoxComplemento" runat="server" MaxLength="100" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Estado:
                        </td>
                        <td class="style1">
                            <asp:DropDownList ID="DdEstado" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DdEstado_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Cidade:
                        </td>
                        <td class="style1">
                            <asp:DropDownList ID="DdCidade" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Bairro:
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="textBoxBairro" runat="server" MaxLength="100" Width="400"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Senha:
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="textBoxSenha" runat="server" MaxLength="100" Width="200" TextMode="Password"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Informe novamente a senha:
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="textBoxSenha2" runat="server" MaxLength="100" Width="200" TextMode="Password"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Logo :
                        </td>
                        <td class="style1">
                            <asp:FileUpload ID="FileUploadLogo" runat="server" Width="274px" />
                            <asp:Button ID="ButtonCarregarImagem" runat="server" Text="Carregar Imagem" OnClick="ButtonCarregarImagem_Click"
                                CssClass="PubBtn" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center">
                            <asp:Button ID="BtCadastrar" runat="server" Text="Cadastrar" OnClick="btCadastrarClick"
                                CssClass="PubBtn" />
                            <asp:Button ID="BtCancelar" runat="server" Text="Cancelar" CssClass="PubBtn" 
                                onclick="BtCancelar_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LabelAviso" runat="server" Visible="false"></asp:Label>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
